CXX = g++
#CXXFLAGS = -I/usr/include/jsoncpp/json  # 替换为你的实际路径

LDFLAGS = -ljsoncpp -lpthread
TARGET = test
SOURCES = test.cpp bundle.cpp

all: $(TARGET)

$(TARGET): $(SOURCES)
	$(CXX) $(CXXFLAGS) $^ -o $@ $(LDFLAGS)

clean:
	rm -f $(TARGET)